package com.situ.vivamarket.dao;

import com.situ.vivamarket.model.Admin;
import com.situ.vivamarket.model.Brand;
import com.situ.vivamarket.model.search.AdminSearchBean;
import com.situ.vivamarket.model.search.BrandSearchBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BrandDao {
    List<Brand> findAll(BrandSearchBean bsb);

    int deleteByIds(Integer[] ids);


    int insert(Brand brand);

    Brand findById(Integer id);

    int update(Brand brand);
}
